package com.yanqu.road.entity.player;

import com.yanqu.road.entity.DataObject;

public class UserColdRoomSite extends DataObject {
    private long userId;

    private int siteIndex;
    /**
     * 上次记录产量时间
     */
    private long lastRestoreTime;
    /**
     * 工作中美女id
     */
    private int beautyId;

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        if(this.userId != userId) {
            this.userId = userId;
            setUpdateOption();
        }
    }

    public int getSiteIndex() {
        return siteIndex;
    }

    public void setSiteIndex(int siteIndex) {
        if(this.siteIndex != siteIndex) {
            this.siteIndex = siteIndex;
            setUpdateOption();
        }
    }

    public long getLastRestoreTime() {
        return lastRestoreTime;
    }

    public void setLastRestoreTime(long lastRestoreTime) {
        if(this.lastRestoreTime != lastRestoreTime) {
            this.lastRestoreTime = lastRestoreTime;
            setUpdateOption();
        }
    }

    public int getBeautyId() {
        return beautyId;
    }

    public void setBeautyId(int beautyId) {
        if(this.beautyId != beautyId) {
            this.beautyId = beautyId;
            setUpdateOption();
        }
    }
}
